From: Stefan Monnier Date: Thu, 25 Nov 2010 04:43:56 +0000 (-0500) Subject: * lisp/vc/diff.el (diff): Fix last change. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~5538 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=903c8b0d49cb865a63f234631eee8ec63c6fc244;p=emacs.git * lisp/vc/diff.el (diff): Fix last change. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c0a90a29a3b..029a01d4536 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-11-25 Stefan Monnier + + * vc/diff.el (diff): Fix last change. + 2010-11-24 Stefan Monnier * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix. diff --git a/lisp/vc/diff.el b/lisp/vc/diff.el index 5c0a222cffd..13c23eea734 100644 --- a/lisp/vc/diff.el +++ b/lisp/vc/diff.el @@ -84,8 +84,8 @@ When called interactively with a prefix argument, prompt interactively for diff switches. Otherwise, the switches specified in `diff-switches' are passed to the diff command." (interactive - (let ((newf (buffer-file-name)) - (oldf (file-newest-backup newf))) + (let* ((newf (buffer-file-name)) + (oldf (file-newest-backup newf))) (setq newf (if (and newf (file-exists-p newf)) (read-file-name (concat "Diff new file (default "